//
//  TYZBaseTableViewController.h
//  DriveSchoolCoach
//
//  Created by TangBin on 2019/7/4.
//  Copyright © 2019 TangBin. All rights reserved.
//

#import "TYZBaseViewController.h"
#import "TYZBaseTableViewCell.h"
#import "TYZBaseTableView.h"

NS_ASSUME_NONNULL_BEGIN

@interface TYZBaseTableViewController : TYZBaseViewController <UITableViewDataSource, UITableViewDelegate>

@property (nonatomic, assign) BOOL isStyle;

@property (nonatomic, strong) TYZBaseTableView *baseTableView;

// 不可用
//- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil UNAVAILABLE_ATTRIBUTE;


/**
 *  初始化
 *
 *  @param nibNameOrNil   nibNameOrNil
 *  @param nibBundleOrNil nibBundleOrNil
 *  @param isStylePlain   类型 UITableViewStylePlain/UITableViewStyleGrouped
 *
 *  @return id
 */
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil isStylePlain:(BOOL)isStylePlain;

/**
 初始化
 
 @param isStylePlain 类型 UITableViewStylePlain/UITableViewStyleGrouped
 @return return value description
 */
- (id)initWithStylePlain:(BOOL)isStylePlain;

- (void)initWithBaseTableView; // NS_REQUIRES_SUPER

//- (NSInteger)getBaseListCount;

- (void)initWithHeaderView;

- (void)initWithFooterView;

- (void)initWithDataSource;
@end

NS_ASSUME_NONNULL_END
